package com.vasthu.api.dao;

import com.vasthu.api.domain.Category;
import java.util.*;
import java.sql.*;

public interface CategoryDAO {

	public boolean insertCategory(Connection con, Category cat);

	public Category getCategoryById(Connection con, long catId);
	
	public Category getCategoryByName(Connection con, String catName);
	
	public boolean deleteCategoryById(Connection con, long catId);
    
      public List<Category> getAllCategorys(Connection con);
	
}